home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1993 November
/
JCSM Shareware Collection - 1993-11.iso
/
cl880
/
iris128j.lzh
/
ORDER.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-01-10
|
759b
|
39 lines
ECHO OFF
CLS
ECHO Working ..
BREAK ON
REM Order.Bat Copyright (c) 1989 Ted Husted Do not alter!
GOTO ASK
:LOGON
ECHO Required files are not available.
ECHO Please log onto the distribution disk and try again.
GOTO END
:SORRY
ECHO Please try to run "%0" again sometime.
GOTO END
:OFFLINE
ECHO Your printer doesn't seem ready.
GETKEY Would you like to continue anyway? N
IF NOT ERRORLEVEL 1 GOTO SORRY
GOTO GO
:ASK
GETKEY Are you ready to print your order form now? Y
IF ERRORLEVEL 1 GOTO SORRY
:INVENTORY
FOR %%f IN (CHKPRN.EXE GETKEY.EXE ORDER ORDER.FTR ORDER.HDR) DO IF NOT EXIST %%f GOTO LOGON
:CHECK
CHKPRN
IF ERRORLEVEL 3 GOTO OFFLINE
:GO
COPY ORDER.HDR+ORDER+ORDER.FTR PRN:
DEL ORDER.
:END